<!DOCTYPE html>
<!--

    Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    <h:head>
        <title>JAVASERVERFACES_SPEC_PUBLIC-790 - Integration Test</title>
    </h:head>
    <h:body>
        <h:panelGroup id="panel1" layout="block">
            <h:form id="form1">
                <h:commandButton id="button" value="submit form1 and render panel2 and panel3 using h:commandButton f:ajax">
                    <f:ajax execute=":form1" render=":panel2 :panel3" />
                </h:commandButton>
            </h:form>
        </h:panelGroup>
        <h:panelGroup id="panel2" layout="block">
            <h:form id="form2">
                <h:commandLink id="link" value="submit form2 and render panel1 and panel3 using h:commandLink f:ajax">
                    <f:ajax execute=":form2" render=":panel1 :panel3" />
                </h:commandLink>
            </h:form>
        </h:panelGroup>
        <h:panelGroup id="panel3" layout="block">
            <h:form id="form3">
                <h:commandLink id="link" value="submit form3 and render panel1 and panel2 using manual jsf.ajax.request()"
                    onclick="jsf.ajax.request(this,event,{execute:'form3',render:':panel1 :panel2'});return false;" />
            </h:form>
        </h:panelGroup>
    </h:body>
</html>
